import './style.css'
import { createApp } from 'vue'
import App from './App.vue'
//引入element-plus组件

import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
//导入路由文件
import router from './router'

import zhCn from 'element-plus/dist/locale/zh-cn.mjs'
//后端基础地址
import axios from 'axios'
//指定后端请求路径前缀
axios.defaults.baseURL = 'http://127.0.0.1:8080'
createApp(App)
    .use(ElementPlus, {
    locale: zhCn,
})
    .use(ElementPlus)
    .use(router)
    .mount('#app')
